#pragma once

#include "py32f0xx_hal.h"

extern	UART_HandleTypeDef	Uart1Handle;

struct UsartInitParam {
    uint32_t gpioPin;
    GPIO_TypeDef *gpioPort;
    uint32_t BaudRate;
};

int32_t USART1_Init(const struct UsartInitParam *param);
void USART1_DeInit();

void USART1_SendString(uint8_t *str);


